﻿using Common.Contract.Authentication.Record;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Authentication.Model.ViewModel.Account
{
    public class GroupViewModel : GenerateViewMode, IViewModel
    {
        public string GroupIdentifier { get; set; }
        public string CreationDate { get; set; }
        public string UpdateDate { get; set; } 

        [Required(ErrorMessage = "Group name is required.")]
        [Display(Name = "Group name:")]
        public string GroupName { get; set; }

        [Display(Name = "Description:")]
        public string Description { get; set; } 

        public List<GroupRecord> Groups { get; set; }
    }
}
